package org.ljy.rabbitextensionsdemo.constant;

public class Constant {

    //1.消息确认机制
    public static final String ACK_QUEUE = "ack_queue";
    public static final String ACK_EXCHANGE = "ack_exchange";

    //2.持久化
    public static final String PRE_EXCHANGE = "pre_exchange";//不持久化的交换机
    public static final String PRE_QUEUE = "pre_queue";//不持久化的队列


    //3.发送方确认
    public static final String CONFIRM_QUEUE = "confirm_queue";
    public static final String CONFIRM_EXCHANGE = "confirm_exchange";

    //4.重试机制
    public static final String RETRY_QUEUE = "retry_queue";
    public static final String RETRY_EXCHANGE = "retry_exchange";

    //5.ttl
    public static final String TTL_QUEUE = "ttl_queue";
    public static final String TTL_QUEUE2 = "ttl_queue2";
    public static final String TTL_EXCHANGE = "ttl_exchange";

    //6.死信
    //用于对接队列
    public static final String NORMAL_QUEUE = "normal_queue";
    public static final String NORMAL_EXCHANGE = "normal_exchange";

    public static final String DL_QUEUE = "dl_queue";
    public static final String DL_EXCHANGE = "dl_exchange";

    //7.延迟队列
    public static final String DELAY_QUEUE = "delay_queue";
    public static final String DELAY_EXCHANGE = "delay_exchange";

    //8.事务
    public static final String TRANS_QUEUE = "trans_queue";

    //9.限流
    public static final String QOS_QUEUE = "qos_queue";
    public static final String QOS_EXCHANGE = "qos_exchange";


}
